package com.maiko.usercenter.annotation;

import java.lang.annotation.*;

/**
 * 权限校验
 * @author: Maiko7
 * @create: 2025-07-15 9:31
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AuthCheck {

    /**
     * 必须有某个角色
     */
    String mustRole() default "";
}
